<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>属性</title>
    <style>
          .success{
               background-color: #00FF00;
          }

          .danger{
               background-color: red;
          }
    </style>
</head>
<body>
<div>

    <form action="">
       <div>
           用户名： <input type="text" id="username">
       </div>

        <div>
            密码： <input type="password" id="password">
        </div>
     <div>
         <button id="btnSubmit" type="button">登录</button>
     </div>

    </form>
</div>

<div id="message">

</div>
</body>
<script src="../js/2.prop.js"></script>

</html>